# -*- coding: utf-8 -*-

number = 44
running = True

while running:
    # 通过 input() 函数来获取用户的猜测数
    guess = int(input('请输入一个整数：'))

    if guess == number:
        print('哎呀，厉害，猜对了！')
        running = False
    elif guess < number:
        print('小了')
    else:
        print('大了')

# else 代码块在 while 循环的条件变为 False 时开始执行
else:
    print('while循环结束')

print('程序结束')
